package com.daikit.commons.shared.exception.utils;

import com.daikit.commons.shared.utils.DkStringUtils;


/**
 * Default implementation of {@link DkMessageFormatter}
 *
 * @author tcaselli
 * @version $Revision$ Last modifier: $Author$ Last commit: $Date$
 */
public class DkDefaultMessageFormatter implements DkMessageFormatter
{

	@Override
	public String format(final String code, final String toFormat, final Object... arguments)
	{
		return DkStringUtils.formatWithPositions(toFormat, arguments);
	}

}
